﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: PackageEntity.cs
// 修改时间：2020-9-8 10:40:07
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：Package 的实体类.
	/// </summary>
	[Table("Package")]
	public partial class PackageEntity
	{
		#region Properties
		private int? _packageID = 0;
		/// <summary>
		/// 包装ID(主键)(自增长)
		/// </summary>
		[Column("PackageID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? PackageID
		{
			get {return _packageID;}
			set {_packageID = value;}
		}
		
		private System.String _packageName = string.Empty;
		/// <summary>
		/// 包装名称
		/// </summary>
		[Column("PackageName",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String PackageName
		{
			get {return _packageName;}
			set {_packageName = value;}
		}
		
		private double? _packageWeight = 0.0f;
		/// <summary>
		/// 包装重量(kg)
		/// </summary>
		[Column("PackageWeight",TypeName="float")]
		public double? PackageWeight
		{
			get {return _packageWeight;}
			set {_packageWeight = value;}
		}
		
		private double? _goodsWeightMin = 0.0f;
		/// <summary>
		/// 货物重量上限
		/// </summary>
		[Column("GoodsWeightMin",TypeName="float")]
		public double? GoodsWeightMin
		{
			get {return _goodsWeightMin;}
			set {_goodsWeightMin = value;}
		}
		
		private double? _goodsWeightMax = 0.0f;
		/// <summary>
		/// 货物重量下限
		/// </summary>
		[Column("GoodsWeightMax",TypeName="float")]
		public double? GoodsWeightMax
		{
			get {return _goodsWeightMax;}
			set {_goodsWeightMax = value;}
		}
		
		#endregion
	}
}
